#include "ductility.h"

Ductility::Ductility(void)
{
    m_q = -1;
    setOff();
}

Ductility::Ductility(const double& v)
{
    m_q = v;
    setOn();
}

void Ductility::setValue(const double& v)
{
    m_q = v;
    setOn();
}

double Ductility::getValue(void) const
{
    return(m_q);
}
